ensure Known Ids
Makes sure that all the credential set queries have options that reference the ids of the given Credentials
Parameters
credentials
the queries against which the credential set queries will be checked
Throws
if the above check fails